﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000319 RID: 793
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkQuitScriptCsReq : IMessage<ClockParkQuitScriptCsReq>, IMessage, IEquatable<ClockParkQuitScriptCsReq>, IDeepCloneable<ClockParkQuitScriptCsReq>, IBufferMessage
	{
		// Token: 0x17000A45 RID: 2629
		// (get) Token: 0x06002379 RID: 9081 RVA: 0x0006475D File Offset: 0x0006295D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkQuitScriptCsReq> Parser
		{
			get
			{
				return ClockParkQuitScriptCsReq._parser;
			}
		}

		// Token: 0x17000A46 RID: 2630
		// (get) Token: 0x0600237A RID: 9082 RVA: 0x00064764 File Offset: 0x00062964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkQuitScriptCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A47 RID: 2631
		// (get) Token: 0x0600237B RID: 9083 RVA: 0x00064776 File Offset: 0x00062976
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkQuitScriptCsReq.Descriptor;
			}
		}

		// Token: 0x0600237C RID: 9084 RVA: 0x0006477D File Offset: 0x0006297D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptCsReq()
		{
		}

		// Token: 0x0600237D RID: 9085 RVA: 0x00064785 File Offset: 0x00062985
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptCsReq(ClockParkQuitScriptCsReq other) : this()
		{
			this.jMFOLKLCJLN_ = other.jMFOLKLCJLN_;
			this.scriptId_ = other.scriptId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600237E RID: 9086 RVA: 0x000647B6 File Offset: 0x000629B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptCsReq Clone()
		{
			return new ClockParkQuitScriptCsReq(this);
		}

		// Token: 0x17000A48 RID: 2632
		// (get) Token: 0x0600237F RID: 9087 RVA: 0x000647BE File Offset: 0x000629BE
		// (set) Token: 0x06002380 RID: 9088 RVA: 0x000647C6 File Offset: 0x000629C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool JMFOLKLCJLN
		{
			get
			{
				return this.jMFOLKLCJLN_;
			}
			set
			{
				this.jMFOLKLCJLN_ = value;
			}
		}

		// Token: 0x17000A49 RID: 2633
		// (get) Token: 0x06002381 RID: 9089 RVA: 0x000647CF File Offset: 0x000629CF
		// (set) Token: 0x06002382 RID: 9090 RVA: 0x000647D7 File Offset: 0x000629D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x06002383 RID: 9091 RVA: 0x000647E0 File Offset: 0x000629E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkQuitScriptCsReq);
		}

		// Token: 0x06002384 RID: 9092 RVA: 0x000647EE File Offset: 0x000629EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkQuitScriptCsReq other)
		{
			return other != null && (other == this || (this.JMFOLKLCJLN == other.JMFOLKLCJLN && this.ScriptId == other.ScriptId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002385 RID: 9093 RVA: 0x0006482C File Offset: 0x00062A2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.JMFOLKLCJLN)
			{
				num ^= this.JMFOLKLCJLN.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002386 RID: 9094 RVA: 0x00064884 File Offset: 0x00062A84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002387 RID: 9095 RVA: 0x0006488C File Offset: 0x00062A8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002388 RID: 9096 RVA: 0x00064898 File Offset: 0x00062A98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.JMFOLKLCJLN)
			{
				output.WriteRawTag(40);
				output.WriteBool(this.JMFOLKLCJLN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002389 RID: 9097 RVA: 0x000648F4 File Offset: 0x00062AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.JMFOLKLCJLN)
			{
				num += 2;
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600238A RID: 9098 RVA: 0x00064940 File Offset: 0x00062B40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkQuitScriptCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.JMFOLKLCJLN)
			{
				this.JMFOLKLCJLN = other.JMFOLKLCJLN;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600238B RID: 9099 RVA: 0x00064990 File Offset: 0x00062B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600238C RID: 9100 RVA: 0x0006499C File Offset: 0x00062B9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 40U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.JMFOLKLCJLN = input.ReadBool();
					}
				}
				else
				{
					this.ScriptId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E78 RID: 3704
		private static readonly MessageParser<ClockParkQuitScriptCsReq> _parser = new MessageParser<ClockParkQuitScriptCsReq>(() => new ClockParkQuitScriptCsReq());

		// Token: 0x04000E79 RID: 3705
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E7A RID: 3706
		public const int JMFOLKLCJLNFieldNumber = 5;

		// Token: 0x04000E7B RID: 3707
		private bool jMFOLKLCJLN_;

		// Token: 0x04000E7C RID: 3708
		public const int ScriptIdFieldNumber = 4;

		// Token: 0x04000E7D RID: 3709
		private uint scriptId_;
	}
}
